<template>
  <van-tabbar route>
    <van-tabbar-item to="/" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item to="/category" icon="apps-o">分类</van-tabbar-item>
    <van-tabbar-item to="/recommend" icon="thumb-circle-o">推荐</van-tabbar-item>
    <van-tabbar-item to="/car" icon="chat-o">购物车</van-tabbar-item>
    <van-tabbar-item to="/user" icon="https://fastly.jsdelivr.net/npm/@vant/assets/icon-demo.png">我的</van-tabbar-item>
  </van-tabbar>
</template>

<script setup>
import { Tabbar as VanTabbar, TabbarItem as VanTabbarItem   } from 'vant'
</script>

<style lang='scss' scoped>
.van-tabbar{
  position: fixed !important;
}
</style>
